import $http from "../assets/js/http";

export async function login({ username, password }) {
  return $http.post("User/Login/Login", {
    username,
    password
  });
}

export async function password_update(username, password) {
  return $http.post("User/Login/password_update", {
    username,
    password
  });
}
